<?php
class Training_AjaxController extends Zendvn_Controller_Action{
	
	protected $_arrParam;
	
	public function init(){
		$this->_arrParam = $this->_request->getParams();
	}
	
	public function indexAction(){
		echo '<br>' . __METHOD__;
		$linkJquery = PUBLIC_URL .'/js/jquery-1.4min.js';
		$this->view->headScript()->appendFile($linkJquery);
		echo '<br>' . $path = FILE_PATH . '/users/img110x110//////////////////////////////////';
		$upload = new Zendvn_File_Upload();
		echo '<br>' . $upload->replacePath($path);
	}
	
	public function loadAction(){
		$this->_helper->layout()->disableLayout();
		echo '<br>' . __METHOD__;
	}
}